
#include<iostream>
using namespace std;
int main()
{	
	char x,a,b;
	cin>>x;
	if(x>=65&&x<=90){
		a=(x-'A'-1+26)%26+'A';
		b=(x-'A'+1)%26+'A';
	}
	else{
		a=(x-'a'-1+26)%26+'a';
		b=(x-'a'+1)%26+'a';
	} 
	cout<<a<<x<<b<<endl;	
	return 0;
}
